package com.snaildesign.lrc.services;

import java.util.Iterator;
import java.util.List;

import com.snaildesign.AbstractAMF3Service;
import com.snaildesign.common.BaseException;
import com.snaildesign.lrc.bmo.LrcManager;
import com.snaildesign.lrc.bmo.impl.LrcManagerImpl;
import com.snaildesign.lrc.model.Lrc;
import com.snaildesign.samples.model.Sample;

public class LrcServices extends AbstractAMF3Service {

	public LrcManager getLrcDownManager(){
		//return (LrcManager)this.getBean("lrcManager");
		return new LrcManagerImpl();
	}
	
	public List<Sample> findLrcByLrcId(String lrcId) throws BaseException{
		LrcManager lrcManager= getLrcDownManager();
		return lrcManager.findLrcByLrcId(lrcId);
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}
	
	

}
